//
//  TextBoot.swift
//  SwiftUIWidgetDemo
//
//  Created by alanzhangg on 2023/7/10.
//

import SwiftUI

struct TextBoot: View {
    var body: some View {
        Text("hello world!")
//            .font(.system(size: 24, weight: .semibold, design: .serif))
//            .font(.body)
////            .fontWeight(.bold)
//            .bold()
//            .underline(true, color: .red)
//            .italic()
//            .strikethrough(color: .green)
//            .baselineOffset(50)
//            .kerning(10.0)
            .multilineTextAlignment(.leading)
            .foregroundColor(.blue)
            .frame(width: 200, height: 100, alignment: .leading)
            .minimumScaleFactor(0.5)
            
        
    }
}

#Preview {
    TextBoot()
}
